<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.cppmethod.CppVirtualMethodProxy</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.cppmethod-module.html">Module&nbsp;cppmethod</a> ::
        Class&nbsp;CppVirtualMethodProxy
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class CppVirtualMethodProxy</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_42" name="uml_class_diagram_for_pybindge_42">
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#class_" title="Get the class wrapper object (CppClass)" alt="" coords="24,135,245,153"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#helper_class" title="Get the C++ helper class, which is used for overriding virtual methods" alt="" coords="24,153,245,172"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#__init__" title="xxx" alt="" coords="24,175,245,193"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_class" title="Get the class wrapper object (CppClass)" alt="" coords="24,193,245,212"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#set_helper_class" title="Set the C++ helper class, which is used for overriding virtual methods" alt="" coords="24,212,245,231"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_helper_class" title="Get the C++ helper class, which is used for overriding virtual methods" alt="" coords="24,231,245,249"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate_python_call" title="code to call the python method" alt="" coords="24,249,245,268"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate_declaration" title="pybindgen.cppmethod.CppVirtualMethodProxy.generate_declaration" alt="" coords="24,268,245,287"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate" title="generates the proxy virtual method" alt="" coords="24,287,245,305"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#__str__" title="str(x)" alt="" coords="24,305,245,324"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html" title="Class that generates a proxy virtual method that calls a similarly named python method." alt="" coords="23,117,247,325"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#NO_GIL_LOCKING" title="pybindgen.typehandlers.base.ReverseWrapperBase.NO_GIL_LOCKING" alt="" coords="17,28,252,47"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#set_error_return" title="pybindgen.typehandlers.base.ReverseWrapperBase.set_error_return" alt="" coords="17,49,252,68"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#reset_code_generation_state" title="pybindgen.typehandlers.base.ReverseWrapperBase.reset_code_generation_state" alt="" coords="17,68,252,87"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html" title="Generic base for all reverse wrapper generators." alt="" coords="16,11,253,88"/>
</map>
  <img src="uml_class_diagram_for_pybindge_42.gif" alt='' usemap="#uml_class_diagram_for_pybindge_42" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Class that generates a proxy virtual method that calls a similarly 
  named python method.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">method</span>)</span><br />
      xxx</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___34-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___34-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___34" name="call_graph_for___init___34">
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#add_virtual_method" title="cppclass.CppHelperClass.add_virtual_method()" alt="" coords="7,5,452,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#__init__" title="__init__()" alt="" coords="503,5,607,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#__init__" title="typehandlers.base.ReverseWrapperBase.__init__()" alt="" coords="657,5,1137,37"/>
</map>
  <img src="call_graph_for___init___34.gif" alt='' usemap="#call_graph_for___init___34" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_class"></a><span class="summary-sig-name">get_class</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the class wrapper object (CppClass)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.get_class">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_class_4-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_class_4-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_class_4" name="call_graph_for_get_class_4">
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#get_class" title="CppMethod.get_class()" alt="" coords="343,5,569,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate" title="generate()" alt="" coords="7,5,124,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_class" title="get_class()" alt="" coords="175,5,292,37"/>
</map>
  <img src="call_graph_for_get_class_4.gif" alt='' usemap="#call_graph_for_get_class_4" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_helper_class"></a><span class="summary-sig-name">set_helper_class</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">helper_class</span>)</span><br />
      Set the C++ helper class, which is used for overriding virtual 
      methods</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.set_helper_class">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_set_helper_clas_3-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_set_helper_clas_3-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_set_helper_clas_3" name="call_graph_for_set_helper_clas_3">
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#_generate_forward_declarations" title="cppclass.CppHelperClass._generate_forward_declarations()" alt="" coords="5,5,565,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#set_helper_class" title="set_helper_class()" alt="" coords="613,33,797,65"/>
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#generate" title="cppclass.CppHelperClass.generate()" alt="" coords="112,61,459,93"/>
</map>
  <img src="call_graph_for_set_helper_clas_3.gif" alt='' usemap="#call_graph_for_set_helper_clas_3" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_helper_class"></a><span class="summary-sig-name">get_helper_class</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the C++ helper class, which is used for overriding virtual 
      methods</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.get_helper_class">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate_python_call" class="summary-sig-name">generate_python_call</a>(<span class="summary-sig-arg">self</span>)</span><br />
      code to call the python method</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.generate_python_call">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_python_3-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate_python_3-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_python_3" name="call_graph_for_generate_python_3">
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate_python_call" title="generate_python_call()" alt="" coords="551,89,783,121"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#get_parameters" title="typehandlers.base.BuildValueParameters.get_parameters()" alt="" coords="832,5,1395,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#add_cleanup_code" title="typehandlers.base.CodeBlock.add_cleanup_code()" alt="" coords="876,61,1351,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="908,117,1319,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_check" title="typehandlers.base.CodeBlock.write_error_check()" alt="" coords="875,173,1352,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="7,89,500,121"/>
</map>
  <img src="call_graph_for_generate_python_3.gif" alt='' usemap="#call_graph_for_generate_python_3" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="generate_declaration"></a><span class="summary-sig-name">generate_declaration</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.generate_declaration">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_declar_2-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate_declar_2-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_declar_2" name="call_graph_for_generate_declar_2">
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#_generate_forward_declarations" title="cppclass.CppHelperClass._generate_forward_declarations()" alt="" coords="5,33,565,65"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate_declaration" title="generate_declaration()" alt="" coords="615,33,844,65"/>
<area shape="rect" href="pybindgen.typehandlers.base-module.html#join_ctype_and_name" title="typehandlers.base.join_ctype_and_name()" alt="" coords="929,5,1337,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#writeln" title="typehandlers.codesink.MemoryCodeSink.writeln()" alt="" coords="895,61,1372,93"/>
</map>
  <img src="call_graph_for_generate_declar_2.gif" alt='' usemap="#call_graph_for_generate_declar_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate" class="summary-sig-name">generate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>)</span><br />
      generates the proxy virtual method</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.generate">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_18-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate_18-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_18" name="call_graph_for_generate_18">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_pystruct" title="cppclass.CppClass.get_pystruct()" alt="" coords="653,5,973,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate" title="generate()" alt="" coords="364,257,481,289"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_class" title="get_class()" alt="" coords="755,61,872,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#add_cleanup_code" title="typehandlers.base.CodeBlock.add_cleanup_code()" alt="" coords="576,117,1051,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#indent" title="typehandlers.base.CodeBlock.indent()" alt="" coords="629,173,997,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#unindent" title="typehandlers.base.CodeBlock.unindent()" alt="" coords="617,229,1009,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_cleanup" title="typehandlers.base.CodeBlock.write_cleanup()" alt="" coords="593,285,1033,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="608,341,1019,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="547,397,1080,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="567,453,1060,485"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#set_error_return" title="typehandlers.base.ReverseWrapperBase.set_error_return()" alt="" coords="532,509,1095,541"/>
<area shape="rect" href="pybindgen.utils-module.html#call_with_error_handling" title="utils.call_with_error_handling()" alt="" coords="7,257,313,289"/>
</map>
  <img src="call_graph_for_generate_18.gif" alt='' usemap="#call_graph_for_generate_18" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      str(x)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.__str__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html">typehandlers.base.ReverseWrapperBase</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#reset_code_generation_state">reset_code_generation_state</a></code>,
      <code><a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#set_error_return">set_error_return</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Variables</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html">typehandlers.base.ReverseWrapperBase</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#NO_GIL_LOCKING">NO_GIL_LOCKING</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#class_" class="summary-name">class_</a><br />
      Get the class wrapper object (CppClass)
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#helper_class" class="summary-name">helper_class</a><br />
      Get the C++ helper class, which is used for overriding virtual 
      methods
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">method</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___34-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___34-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___34" name="call_graph_for___init___34">
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#add_virtual_method" title="cppclass.CppHelperClass.add_virtual_method()" alt="" coords="7,5,452,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#__init__" title="__init__()" alt="" coords="503,5,607,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#__init__" title="typehandlers.base.ReverseWrapperBase.__init__()" alt="" coords="657,5,1137,37"/>
</map>
  <img src="call_graph_for___init___34.gif" alt='' usemap="#call_graph_for___init___34" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>xxx</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>return_value</code></strong> - type handler for the return value</li>
        <li><strong class="pname"><code>parameters</code></strong> - a list of type handlers for the parameters</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="generate_python_call"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">generate_python_call</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.generate_python_call">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_python_3-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_generate_python_3-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_python_3" name="call_graph_for_generate_python_3">
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate_python_call" title="generate_python_call()" alt="" coords="551,89,783,121"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#get_parameters" title="typehandlers.base.BuildValueParameters.get_parameters()" alt="" coords="832,5,1395,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#add_cleanup_code" title="typehandlers.base.CodeBlock.add_cleanup_code()" alt="" coords="876,61,1351,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="908,117,1319,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_check" title="typehandlers.base.CodeBlock.write_error_check()" alt="" coords="875,173,1352,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="7,89,500,121"/>
</map>
  <img src="call_graph_for_generate_python_3.gif" alt='' usemap="#call_graph_for_generate_python_3" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>code to call the python method</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate_python_call">typehandlers.base.ReverseWrapperBase.generate_python_call</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="generate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">generate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">code_sink</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.generate">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_18-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_generate_18-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_18" name="call_graph_for_generate_18">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_pystruct" title="cppclass.CppClass.get_pystruct()" alt="" coords="653,5,973,37"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#generate" title="generate()" alt="" coords="364,257,481,289"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_class" title="get_class()" alt="" coords="755,61,872,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#add_cleanup_code" title="typehandlers.base.CodeBlock.add_cleanup_code()" alt="" coords="576,117,1051,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#indent" title="typehandlers.base.CodeBlock.indent()" alt="" coords="629,173,997,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#unindent" title="typehandlers.base.CodeBlock.unindent()" alt="" coords="617,229,1009,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_cleanup" title="typehandlers.base.CodeBlock.write_cleanup()" alt="" coords="593,285,1033,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="608,341,1019,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="547,397,1080,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="567,453,1060,485"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#set_error_return" title="typehandlers.base.ReverseWrapperBase.set_error_return()" alt="" coords="532,509,1095,541"/>
<area shape="rect" href="pybindgen.utils-module.html#call_with_error_handling" title="utils.call_with_error_handling()" alt="" coords="7,257,313,289"/>
</map>
  <img src="call_graph_for_generate_18.gif" alt='' usemap="#call_graph_for_generate_18" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>generates the proxy virtual method</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>code_sink</code></strong> - a CodeSink object that will receive the code</li>
        <li><strong class="pname"><code>wrapper_name</code></strong> - C/C++ identifier of the function/method to generate</li>
        <li><strong class="pname"><code>decl_modifiers</code></strong> - list of C/C++ declaration modifiers, e.g. 'static'</li>
    </ul></dd>
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate">typehandlers.base.ReverseWrapperBase.generate</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="__str__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Informal representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppmethod-pysrc.html#CppVirtualMethodProxy.__str__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>str(x)</p>
  <dl class="fields">
    <dt>Overrides:
        object.__str__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== PROPERTY DETAILS ==================== -->
<a name="section-PropertyDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Property Details</span></td>
</tr>
</table>
<a name="class_"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">class_</h3>
  <p>Get the class wrapper object (CppClass)</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_class" class="summary-sig-name">get_class</a>(<span class="summary-sig-arg">self</span>)</span>
        - Get the class wrapper object (CppClass)
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="helper_class"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">helper_class</h3>
  <p>Get the C++ helper class, which is used for overriding virtual 
  methods</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#get_helper_class" class="summary-sig-name">get_helper_class</a>(<span class="summary-sig-arg">self</span>)</span>
        - Get the C++ helper class, which is used for overriding virtual 
      methods
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.cppmethod.CppVirtualMethodProxy-class.html#set_helper_class" class="summary-sig-name">set_helper_class</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">helper_class</span>)</span>
        - Set the C++ helper class, which is used for overriding virtual 
      methods
    </dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:20 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
